package com.bobo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bobo.base.Q;
import com.bobo.base.mybatis.ServiceImpl;
import com.bobo.mapper.SysPowerMapper;
import com.bobo.pojo.SysPower;
import com.bobo.service.SysPowerService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * 菜单角色关联
 *
 * @author LILIBO
 * @since 2023-02-18
 */
@Service
public class SysPowerServiceImpl extends ServiceImpl<SysPowerMapper, SysPower> implements SysPowerService {

    @Resource
    private SysPowerMapper sysPowerMapper;

    /**
     * 获取菜单角色关联分页数据
     *
     * @param page
     * @param param
     * @return
     */
    @Override
    public IPage<SysPower> getPageList(Page page, Q param) {
        return sysPowerMapper.getPageList(page, param);
    }

}
